package com.manage.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.AJAXResultMessage;
import com.manage.entity.TrainingRecord;


public interface ITrainingRecordService {
	public AJAXResultMessage saveOrUpdate(TrainingRecord trainingRecords);
	public void delete(Long id);
	public void delete(List<Long> ids);
	
	public TrainingRecord findOne(Long id);
	public List<TrainingRecord> findAll();
	//动态条件查询
	public Page<TrainingRecord> findAll(TrainingRecord trainingRecord, Pageable pageable);

}
